package com.xpc.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xpc.mapper.AccountUserMapper;
import com.xpc.pojo.qin.AccountUser;
import com.xpc.service.IAccountUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Qinkuer
 * @version 1.0.0
 * @ProjectName UniversityGradeAdministrationSystem
 * @ClassName AccountUserServiceImpl.java
 * @Description IAccountUserService接口类的实现类
 * @createTime 2022年05月19日 12:09:00
 */
@Service
public class AccountUserServiceImpl extends ServiceImpl<AccountUserMapper, AccountUser> implements IAccountUserService {
    @Autowired
    private AccountUserMapper accountUserMapper;

    @Override
    public Page<AccountUser> getPage(IPage<AccountUser> iPage) {
        return accountUserMapper.getPage(iPage);
    }

    @Override
    public Page<AccountUser> searchByAccountId(IPage<AccountUser> iPage, String accountId) {
        return accountUserMapper.searchByAccountId(iPage,accountId);
    }
}
